package com.neusoft.neuhealth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.neuhealth.domain.OutingRecord;
import com.neusoft.neuhealth.po.customer.customerresult.MyApplicationItem;

import java.util.List;

public interface OutingRecordMapper extends BaseMapper<OutingRecord> {
    void returnOuting(Long id, String actualReturnDate);

    List<MyApplicationItem> selectMyApplications(Long userId, int pageStart, Integer pageSize, String customerName);

    int countMyApplications(Long userId, String customerName);

    void cancelOuting(Long id);

    void updateOutingRecordDelFlag(Long id);

    void updateOutingRecordDelFlagByUserId(Long aLong);
}
